package com.mzj.saas.mservice.sys.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/*
 *企业待办事项消息接收人管理
 */
@Entity
@Table(name = "saas_backlog_item_message_user")
public class BacklogItemMessageUser extends IdEntity{

    /*
     *机构id
     */
    @Column(name = "org_id", nullable = true)
    private Long orgId;

    /*
     *区域id
     */
    @Column(name = "area_id", nullable = true)
    private Long areaId;

    /*
     *接收用户id
     */
    @Column(name = "user_id", nullable = true)
    private String userId;

    /*
     *操作人iD
     */
    @Column(name = "operator_id", nullable = true)
    private String operatorId;

    /*
     *操作时间
     */
    @Column(name = "operator_time", nullable = true)
    private Date operatorTime;
    /**
     * 消息类型：1.人员变动 2.冻结/解冻 3.合同临期 4.公告信息 5.账户变动、6.app下单、7.未开门提醒
     */
    @Column(name = "type", nullable = true)
    private Integer type;

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Long getOrgId() {
        return orgId;
    }

    public void setOrgId(Long orgId) {
        this.orgId = orgId;
    }

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }

    public Date getOperatorTime() {
        return operatorTime;
    }

    public void setOperatorTime(Date operatorTime) {
        this.operatorTime = operatorTime;
    }
}
